LockdownPassphraseStoreImpl

Encrypted per-device storage for lockdown passphrases.

Uses EncryptedSharedPreferences backed by an AES-256-GCM MasterKey (hardware keystore when available). The key is intentionally NOT gated behind biometric authentication so that auto-unlock can run in the background without user interaction.

Constructors

Link copied to clipboard
constructor(app: Application)

Functions

Link copied to clipboard
open override fun clearPassphrase(deviceAddress: String)
Link copied to clipboard
open override fun getPassphrase(deviceAddress: String): StoredPassphrase?
Link copied to clipboard
open override fun savePassphrase(deviceAddress: String, passphrase: String, boots: Int, hours: Int, maxSessionSeconds: Int)